package com.caiyouxi.pay.service;

import com.caiyouxi.pay.model.PaymentLogBean;

/**
 * 记录支付日志
 */
public class PayLogThread extends Thread{

    private PaymentLogBean bean;

    private PayServiceImpl payService;

    public PayLogThread(PaymentLogBean bean,PayServiceImpl payService){
        this.bean = bean;
        this.payService = payService;
    }

    @Override
    public void run()
    {
        payService.add_payment_log(bean);
    }

}
